<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加拍卖</title>
</head>
<style>
    .div-input{
        margin-top: 1%;
        margin-left: 20%;
    }
</style>
<body>
<form action="/offer/insert" method="post" id="form">
    <div class="div-input">
        <label class="left f14" >拍卖商品</label>
        <select class="ui-visible" name="goodId"  th:each="info,infoStat:${goods}"  style="width: 10%">
            <option th:value="${info.id}" th:text="${info.name}"></option>
        </select>
    </div>
    <div class="div-input">
        <label class="left f14" >参考价格</label>
        <input type="number"  class="ui-input" size="50" name="initPrice" placeholder="" required>元
    </div>
    <div class="div-input">
        <label class="left f14" >结束时间</label>
        <input type="number"  class="ui-input" size="18" name="limitTime" placeholder="" required>min
    </div>
    <div class="div-input">
        <button type="button" onclick="sendJump('/offer/insert','/offer/offerWithFlush')" class="ui-button" data-type="primary">添加</button>
    </div>
</form>
</body>

</html>